namespace QLGT.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class tbl_MonHoc
    {
        public tbl_MonHoc()
        {
            tbl_DaoTao = new HashSet<tbl_DaoTao>();
        }

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int MaMonHoc { get; set; }

        [Required]
        [StringLength(100)]
        public string TenMonHoc { get; set; }

        [Required]
        [StringLength(10)]
        public string MaKhoa { get; set; }

        [StringLength(10)]
        public string MaGiaoTrinh { get; set; }

        public virtual ICollection<tbl_DaoTao> tbl_DaoTao { get; set; }

        public virtual tbl_GiaoTrinh tbl_GiaoTrinh { get; set; }

        public virtual tbl_Khoa tbl_Khoa { get; set; }
    }
}
